import { CHANGE_NOTICE_DATA } from "./constant";

// 系统通知 模拟
import { notice } from "@/common/local-data";

const changeNoticeData = (data) => ({
  type: CHANGE_NOTICE_DATA,
  data,
});

export const getNoticeDataAction = () => {
  return (dispatch) => {
    dispatch(changeNoticeData(notice));
  };
};
